<?php
//
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$this->model('model')->check_worker();
if($_RQ['op']=='main'){
	$params=array('uniacid'=>$_SESSION['uniacid']);
	$num=pdo_count('jy_merch_user',$params);
	$params=array('ispay'=>1,'uniacid'=>$_SESSION['uniacid'],'merchid >'=>0);
	$fee=pdo_getsum('jy_weishop_order',$params,'price');
	$return['list']=array();
	set_html('title','商户列表');
	$return['params']=array('fee'=>$fee,'num'=>$num);
	exi($return);
}
?>